package com.sansi.pencilbook.entity;

import lombok.*;

import java.io.Serializable;
import java.sql.Date;

/**
 * 功能说明:书籍实体类
 *
 * @author lsy13
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@RequiredArgsConstructor
public class Book implements Serializable {
    @NonNull
    private String bookIsbn;

    //类别Id
    @NonNull
    private Integer categoryId;

    @NonNull
    private String bookImg;

    @NonNull
    private String bookName;

    //出版商
    @NonNull
    private String bookPublishers;

    @NonNull
    private float bookPrice;

    @NonNull
    private String bookAuthor;

    /**
     * 书籍简介
     */
    private String bookIntroduction;

    /**
     * 出版日期
     */
    private String bookTime;
}
